/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

enum Op {
    OPEN, SAVE, SHOW, CLOSE, SEARCH
}

/**
 * <p>Project: app2022 - Switch2
 * <p>Powered by webrx On 2022-01-07 10:10:40
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Switch2 {
    public static void main(String[] args) {
        int i = 3;
        //int short byte char enum  String(java1.7)
        //short s = 6;
        char c = 'A';
        //boolean s = true;
        double d = .5;
        float f = .6f;

        String action = "open";
        switch (action) {
            case "open":
                System.out.println("项目打开");
                break;
            case "delete":
                System.out.println("项目删除数据");
                break;
            default:
                break;
        }
    }
}
